home *** CD-ROM | disk | FTP | other *** search
Wrap
FullReplace 1.1 by Frédéric RINALDI DESCRIPTION FullReplace allows to strip or replace a string in a text. SYNTAX FullReplace (<input>,<search pattern>[,<replace pattern> [,<all>[,<offset>]]]) PARAMETERS Parameters 3 to 5 are optionals. <input> is the text that will be parsed. <search pattern> is the string to search for. <replace pattern> is the replacement string to search for. It may be empty. <all> is a boolean, telling if all matches (true) must be handled, or only the first one (false). Default is true. <offset> is the char number at which the search will begin. Default is 1. Using "!" and "?" returns online help (resp. about and syntax). USING FullReplace will return the input text, once replacement done. Pattern searching is not cas sensitive. ERRORS If an error occurs, FullReplace will return : "Error : Missing parameter(s)" "Error : Param #4 must be boolean" "Error : Param #5 must be > 0" HISTORY 1.1 02/23/92 • Search no more limited to 32000 chars -------------------------------------------------------------------- All externals included in this stack are FreeWare and may be used in non-commercial software provided the following notice is visibly present : FullReplace XFCN, © Frederic Rinaldi, 1989…1993. Free for non-commercial use. Use in commercial software subjected to prior acknowledgement and licensing from the author, reachable at the following network addresses: AppleLink: RINALDI1 CalvaCom : FR10 Compuserve : 71170,2111 Internet : RINALDI1@APPLELINK@APPLE.COM